package com.gitee.vincentzyu.qwq_forge189;

import com.gitee.vincentzyu.qwq_forge189.commands.CommandCheckAdvancement;
import com.gitee.vincentzyu.qwq_forge189.common.CommonProxy;

import net.minecraft.command.ICommand;
import net.minecraft.command.ICommandManager;
import net.minecraft.server.MinecraftServer;
import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.fml.common.Mod.EventHandler;
import net.minecraftforge.fml.common.Mod.Instance;
import net.minecraftforge.fml.common.SidedProxy;
import net.minecraftforge.fml.common.event.FMLInitializationEvent;
import net.minecraftforge.fml.common.event.FMLPostInitializationEvent;
import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;
import net.minecraftforge.fml.common.registry.GameRegistry;

/**
 * @author vincentzyu
 */
@Mod(modid = QwqForge189.MODID, name = QwqForge189.NAME, version = QwqForge189.VERSION, acceptedMinecraftVersions = "1.8.9")
public class QwqForge189
{
    public static final String MODID = "qwq_forge189";
    public static final String NAME = "qwq_forge189";
    public static final String VERSION = "0.1.1-SNAPSHOT";

    @Instance(QwqForge189.MODID)
    public static QwqForge189 instance;

    @SidedProxy(
        clientSide = "com.gitee.vincentzyu.qwq_forge189.client.ClientProxy",
        serverSide = "com.gitee.vincentzyu.qwq_forge189.common.CommonProxy"
    )
    public static CommonProxy proxy;

    @EventHandler
    public void preInit(FMLPreInitializationEvent e)
    {
        proxy.preInit(e);
    }

    @EventHandler
    public void init(FMLInitializationEvent e)
    {
        proxy.init(e);
    }

    @EventHandler
    public void postInit(FMLPostInitializationEvent e)
    {
        proxy.postInit(e);
    }
}